package com.jar.exercise.io.字节流;


import java.io.IOException;
import java.io.InputStream;

/**
 * @author ZhangShengHao
 * @className InputStreamReaderDemo
 * @description TODO
 * @date 2020/2/2 23:08
 */
public class InputStreamReaderDemo {
	public static void main(String[] args) throws IOException {
		InputStream in = System.in;
		byte[] b = new byte[1024];
		int read = in.read(b);
		System.out.println(new String(b, 0, read));
	}
}
